<!DOCTYPE html>
<html>
<head>
    <title>Bootstrap5 实例</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
</head>
<body>

<div class="container mt-3">
    <h2>测试表单</h2>
    <form action="/hello4" method="post">
        <div class="mb-3 mt-3">
            <label for="username" class="form-label">姓名:</label>
            <input type="text" class="form-control" id="username" placeholder="姓名" name="name">
        </div>
        <div class="mb-3">
            <label for="age" class="form-label">年龄:</label>
            <input type="text" class="form-control" id="age" placeholder="年龄" name="age">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
</div>

</body>
</html>